package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 *  视图
 *
 * @author code-generate
 * @date 2021-09-17
 */
@Data
@ApiModel(value = "IotDeviceIrrigationLog 视图", description = " 视图")
public class IotDeviceIrrigationLogVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * 设备编号
     */
    @ApiModelProperty(value = "设备编号")
    @Excel(name = "设备编号", orderNum = "0")
    private String deviceCode;

    /**
     * 数据时间
     */
    @ApiModelProperty(value = "数据时间")
    @Excel(name = "数据时间", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime date;

    /**
     * 1路喷灌状态(N:正常/D:异常)
     */
    @ApiModelProperty(value = "1路喷灌状态(N:正常/D:异常)")
    @Excel(name = "1路喷灌状态(N:正常/D:异常)", orderNum = "0")
    private String g10001flag;

    /**
     * 1路喷灌开关状态(1:开/0:关)
     */
    @ApiModelProperty(value = "1路喷灌开关状态(1:开/0:关)")
    @Excel(name = "1路喷灌开关状态(1:开/0:关)", orderNum = "0")
    private String g10001rtd;

    /**
     * 2路喷灌状态(N:正常/D:异常)
     */
    @ApiModelProperty(value = "2路喷灌状态(N:正常/D:异常)")
    @Excel(name = "2路喷灌状态(N:正常/D:异常)", orderNum = "0")
    private String g10002flag;

    /**
     * 2路喷灌开关状态(1:开/0:关)
     */
    @ApiModelProperty(value = "2路喷灌开关状态(1:开/0:关)")
    @Excel(name = "2路喷灌开关状态(1:开/0:关)", orderNum = "0")
    private String g10002rtd;

    /**
     * 3路喷灌状态(N:正常/D:异常)
     */
    @ApiModelProperty(value = "3路喷灌状态(N:正常/D:异常)")
    @Excel(name = "3路喷灌状态(N:正常/D:异常)", orderNum = "0")
    private String g10003flag;

    /**
     * 3路喷灌开关状态(1:开/0:关)
     */
    @ApiModelProperty(value = "3路喷灌开关状态(1:开/0:关)")
    @Excel(name = "3路喷灌开关状态(1:开/0:关)", orderNum = "0")
    private String g10003rtd;

    /**
     * 1路土壤墒情状态(N:正常/D:异常)
     */
    @ApiModelProperty(value = "1路土壤墒情状态(N:正常/D:异常)")
    @Excel(name = "1路土壤墒情状态(N:正常/D:异常)", orderNum = "0")
    private String a01097flag;

    /**
     * 1路土壤墒情(%)
     */
    @ApiModelProperty(value = "1路土壤墒情(%)")
    @Excel(name = "1路土壤墒情(%)", orderNum = "0")
    private BigDecimal a01097rtd;

    /**
     * 2路土壤墒情状态(N:正常/D:异常)
     */
    @ApiModelProperty(value = "2路土壤墒情状态(N:正常/D:异常)")
    @Excel(name = "2路土壤墒情状态(N:正常/D:异常)", orderNum = "0")
    private String a01098flag;

    /**
     * 2路土壤墒情(%)
     */
    @ApiModelProperty(value = "2路土壤墒情(%)")
    @Excel(name = "2路土壤墒情(%)", orderNum = "0")
    private BigDecimal a01098rtd;

    /**
     * 3路土壤墒情状态(N:正常/D:异常)
     */
    @ApiModelProperty(value = "3路土壤墒情状态(N:正常/D:异常)")
    @Excel(name = "3路土壤墒情状态(N:正常/D:异常)", orderNum = "0")
    private String a01099flag;

    /**
     * 3路土壤墒情(%)
     */
    @ApiModelProperty(value = "3路土壤墒情(%)")
    @Excel(name = "3路土壤墒情(%)", orderNum = "0")
    private BigDecimal a01099rtd;


}
